package com.example.entity;

public class MaterialEntity {

    private int materialNumber;
    private String materialName;
    private String materialType;
    private String supplierName;
    private String address;
    private String time;
    private String size;
    private String person;
    private String phone;
    private String materialDescription;

    public MaterialEntity(){

    }
    public MaterialEntity(int materialNumber, String materialName, String materialType, String supplierName, String address, String time, String size, String person, String phone, String materialDescription) {
        this.materialNumber = materialNumber;
        this.materialName = materialName;
        this.materialType = materialType;
        this.supplierName = supplierName;
        this.address = address;
        this.time = time;
        this.size = size;
        this.person = person;
        this.phone = phone;
        this.materialDescription = materialDescription;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    public int getMaterialNumber() {
        return materialNumber;
    }

    public void setMaterialNumber(int materialNumber) {
        this.materialNumber = materialNumber;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getMaterialType() {
        return materialType;
    }

    public void setMaterialType(String materialType) {
        this.materialType = materialType;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getPerson() {
        return person;
    }

    public void setPerson(String person) {
        this.person = person;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMaterialDescription() {
        return materialDescription;
    }

    public void setMaterialDescription(String materialDescription) {
        this.materialDescription = materialDescription;
    }
    @Override
    public String toString() {
        return "MaterialEntity{" +
                "materialNumber=" + materialNumber +
                ", materialName='" + materialName + '\'' +
                ", materialType='" + materialType + '\'' +
                ", supplierName='" + supplierName + '\'' +
                ", address=" + address +
                ", time=" + time +
                ", size='" + size + '\'' +
                ", person='" + person + '\'' +
                ", phone='" + phone + '\'' +
                ", materialDescription='" + materialDescription + '\'' +
                '}';
    }


}

